package cn.com.jslh.boarpro.main.model;

import android.content.Context;

import cn.com.jslh.boarpro.main.contract.DuanNaiContract;
import cn.com.jslh.boarpro.util.WebService;

/**
 * Created by Administrator on 2017/10/18.
 */

public class DuanNaiModelImpl implements DuanNaiContract.Model {
    private Context context;
    public DuanNaiModelImpl(Context context){
        this.context = context;
    }

    @Override
    public void upAction(String jsonStr, WebService.NetSuccessListener netSuccessListener) {
        new WebService.Builder(context,"importDuanNaiData","WSSowFacade")
                .showDialog(true)
                .addProperty("jsonString",jsonStr)
                .success(netSuccessListener)
                .post();
    }
}
